.search-form {
  margin-bottom: 10px;
  position: relative;
  width: 100%;
  transition: padding 0.3s;

  .search-form-wrapper {
    width: 100%;
    padding-bottom: 0;
    overflow: hidden;
    transition: height 0.3s;
  }

  .search-form-content {
    display: flex;
    width: 100%;
    min-width: 0;
  }

  .search-form-item {
    flex-shrink: 1;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .search-form-edit {
    flex-shrink: 0;

    .search-form-buttons {
      display: flex;
      flex-direction: column;
      padding-left: 8px;
      border-left: 1px solid rgb(229 230 235);
    }
  }
}

.has-expand {
  .search-form-handle {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    z-index: 10;
    width: 80px;
    margin: auto;
    text-align: center;
    cursor: pointer;
    user-select: none;

    .search-form-text {
      font-size: 12px;
    }

    .search-form-icon {
      display: inline-block;
      color: rgb(22 93 255);
      transition: all 0.4s;
      transform: rotateZ(0);
    }
  }
}

.search-form-close {
  padding-bottom: 20px;
}

.search-form-open {
  padding-bottom: 20px;

  .search-form-handle {
    .search-form-icon {
      transform: rotateZ(180deg);
    }
  }
}
